﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Ventas.Master" AutoEventWireup="true" CodeBehind="Usuario.aspx.cs" Inherits="Trade.WebForm6" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxNavBar" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v13.1, Version=13.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
    .style3
    {
        width: 185px;
    }
    .dxeBase_Metropolis1
    {
	    font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
	    color: #333333;
    }
    .style7
    {
        width: 58px;
    }
    .style8
    {
        width: 175px;
    }
    .style11
    {
        width: 225px;
    }
    .style12
    {
        width: 15px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
/* -- ASPxNavBar Lite -- */
.dxnbLite_SoftOrange1 
{
	color: white;
	background-color: transparent;
	border: 4px Solid #D3D3D3;
	font: 12px Tahoma, Geneva, sans-serif;
    font-weight:bold;
	list-style: none none outside;
	margin: 0;
	padding: 1px;
	float: left;
	width: 99%;
}
.dxnbLite_SoftOrange1 .dxnb-content 
{
	color: #FFF;
	border-bottom: 1px Dotted #5C5C5C;
	list-style: none none outside;
	margin: 0;
	padding: 2px 1px;
	overflow: hidden;
}
.dxgvControl_Metropolis1,
.dxgvDisabled_Metropolis1
{
	border: 1px Solid #c0c0c0;
	font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
	background-color: #0e1452;
	color: #FFF;
	cursor: default;
}
.dxgvHeader_Metropolis1
{
	cursor: pointer;
	white-space: nowrap;
	padding: 4px 6px 5px;
	border: 1px Solid #FFF;
	overflow: hidden;
	font-weight: normal;
	text-align: left;
	background-color: #0e1452;
}
.dxgvTable_Metropolis1
{
	background-color: transparent;
	border-width: 0;
	border-collapse: separate!important;
	overflow: hidden;
}
.dxeBase_Metropolis1
{
	font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
	/* color: #333333; */
}
.dxeBase_Metropolis1
{
	font: 12px 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}
</style>
    <div id="frmUsuario" style="height:auto; width:850px; position: absolute; top: 156px; left: 53px;display:inline-table;border:1px solid #EF7F01;">
        <table style="width:100%"> 
            <tr>
                <td>
                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Font-Bold="true" ForeColor="White" Text="USER"></dx:ASPxLabel>
                </td>
            </tr>
            <tr>
                <td>
                    <table style="width:20%">
                        <tr>
                            <td style="width:70px">
                                <dx:ASPxButton ID="btnEdit" runat="server" Text="Edit" Theme="SoftOrange1" onclick="btnCancel_Click"></dx:ASPxButton>
                            </td>
                            <td style="width:70px">
                                <dx:ASPxButton ID="btnGrabar" runat="server" Text="Save" Theme="SoftOrange1" Enabled="false" onclick="btnGrabar_Click">
                                    <ClientSideEvents Click="function(s, e) {
	                                                                            e.processOnServer = true;
                                                                            }" />
                                </dx:ASPxButton>
                            </td>
                            <td style="width:70px">
                                <dx:ASPxButton ID="btnCancel" runat="server" Text="Cancel" Theme="SoftOrange1" onclick="btnCancel_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                 </td>
              </tr>
              <tr>
                  <td>
                    <dx:ASPxNavBar ID="nvbUsuario" runat="server" RenderMode="Lightweight" Theme="SoftOrange1" Width="98.5%">
                        <Groups>
                            <dx:NavBarGroup>
                                <HeaderTemplate> USER DATA </HeaderTemplate>
                                <ContentTemplate>
                                    <table style="border-right:2px white solid;border-left:2px white solid;border-top:2px white solid;border-bottom:2px white solid;width:100%;">
                                        <tr style="font-size:12px;">
                                            <td class="style11">
                                                <dx:ASPxLabel ID="lblUserName" runat="server" Text="User Name:" Theme="Metropolis1" Width="150" ForeColor="White"></dx:ASPxLabel>
                                            </td>
                                            <td class="style3">
                                                <dx:ASPxTextBox ID="txtUserName" runat="server" Theme="Metropolis1" Width="170px"></dx:ASPxTextBox> 
                                            </td>
                                            <td class="style8"></td>
                                            <td>
                                                <dx:ASPxLabel ID="lblName" runat="server" Text="Name:" Theme="Metropolis1" ForeColor="White"></dx:ASPxLabel>
                                            </td>
                                            <td>
                                                <dx:ASPxTextBox ID="txtName" runat="server" Theme="Metropolis1" Width="200px"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                            <tr style="font-size:12px;">
                                                <td class="style11">
                                                    <dx:ASPxLabel ID="lblPassword" runat="server" Text="Password:" Theme="Metropolis1" Width="100" ForeColor="White"></dx:ASPxLabel>
                                                </td>
                                                <td class="style3">
                                                    <dx:ASPxTextBox ID="txtPassword" runat="server" Theme="Metropolis1" Width="170px"></dx:ASPxTextBox>
                                                </td>
                                                <td class="style8"></td>
                                                <td>
                                                    <dx:ASPxLabel ID="lblEmail" runat="server" Text="Email:" Theme="Metropolis1" Width="150" ForeColor="White"></dx:ASPxLabel>
                                                </td>
                                                <td >
                                                    <dx:ASPxTextBox ID="txtEmail" runat="server" Theme="Metropolis1" Width="200px"></dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr style="font-size:12px;">
                                                <td class="style11">
                                                    <dx:ASPxLabel ID="lblConfirm" runat="server" Text="New Password:" Theme="Metropolis1" Width="100" ForeColor="White"></dx:ASPxLabel>
                                                </td>
                                                <td class="style3">
                                                    <dx:ASPxTextBox ID="txtNewPass" runat="server" Theme="Metropolis1" Width="170px"></dx:ASPxTextBox>
                                                </td>
                                                <td class="style8"></td>
                                                <td>                                                 
                                                    <dx:ASPxLabel ID="lblTelefono" runat="server" Text="Phone:" Theme="Metropolis1" ForeColor="White"></dx:ASPxLabel>
                                                </td>
                                                <td class="style7">
                                                    <dx:ASPxTextBox ID="txtPhone" runat="server" Theme="Metropolis1" Width="200px"></dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style11">
                                                    <dx:ASPxLabel ID="lblConfirm0" runat="server" Text="Confirm New Password:" Theme="Metropolis1" Width="150" ForeColor="White"></dx:ASPxLabel>
                                                </td>
                                                <td class="style3">
                                                    <dx:ASPxTextBox ID="txtConfirmNew" runat="server" Theme="Metropolis1" Width="170px"></dx:ASPxTextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="5">
                                                   <dx:ASPxLabel ID="lblMensaje" runat="server" Text="User has been updated successfully" Visible="false" ForeColor="Red" Font-Size="14px" Font-Bold="true"></dx:ASPxLabel>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </dx:NavBarGroup>                                
                            </Groups>
                     </dx:ASPxNavBar>
                  </td>
              </tr>
        </table>
    </div>
</asp:Content>
